home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Data 2002 May
/
CD Rom Data Mayıs 2002.iso
/
Freeware
/
Blitz Basic
/
data1.cab
/
Support
/
help
/
samples
/
shootemup
/
timer.bb
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2002-04-10
|
364 b
|
28 lines
Global oldtimer=MilliSecs()
While Not KeyDown(1)
Print timersec(3)
Wend
Function timersec(endtime)
stoptime=endtime*1000
If MilliSecs()<oldtimer+stoptime
Return True
Else
Return False
EndIf
End Function
Function timermilli(endtime)
If MilliSecs()<oldtimer+endtime
Return True
Else
Return False
EndIf
End Function